(blink-matching-open): When in minibuffer,
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 30 Mar 2007 15:30:26 +0000 (15:30 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 30 Mar 2007 15:30:26 +0000 (15:30 +0000)
don't search for a match inside the prompt.

lisp/simple.el

index 5dbc6d1a10b72b6fd11fc55b818795340b500e24..bec0d9ed5f321ebe470feaf35d255a579223b7cc 100644 (file)
@@ -4478,7 +4478,7 @@ it skips the contents of comments that end before point."
       (save-excursion
        (save-restriction
          (if blink-matching-paren-distance
-             (narrow-to-region (max (point-min)
+             (narrow-to-region (max (minibuffer-prompt-end)
                                     (- (point) blink-matching-paren-distance))
                                oldpos))
          (condition-case ()